{literal}
<script type="text/javascript">
	function prev(link)
	{
		$('#form').attr('action', link);
		$('#form').submit();
	}
</script>
{/literal}
<div class="panelTabs">
			<div class="tabs">
				<a class="label" title="Categories">{'Step 2 of 3'|t}</a>
			</div>
		</div>
		<div class="backgroundFrame970Top"></div>
		<div class="backgroundFrame970">
			<div class="content">

				<h1>{'Player profile'|t}</h1>

				<div class="panelQuiz">

					<div class="form">
						<form method="post" action="{url label=registrationQuizStep3}" id="form">

							<div class="formItem formItemSpacer"><p>{'Weight'|t}</p><input type="text" name="weight" value="{if isset($smarty.cookies.qrf_weight)}{$smarty.cookies.qrf_weight}{else}{$inputData.weight}{/if}" style="width: 50px;" maxlength="3"/> {if $_display_metric_system_type eq 1}{'lb'|t}{else}{'kg'|t}{/if}
							</div>
							<div class="formItem"><p>{'Height'|t}</p><input type="text" name="height" value="{if isset($smarty.cookies.qrf_height)}{$smarty.cookies.qrf_height}{else}{$inputData.height}{/if}" style="width: 50px;" maxlength="3"/> {if $_display_metric_system_type eq 1}{'"'|t}{else}{'cm'|t}{/if}
							</div>

							<div class="formItem formItemSpacer"><p>{'Hand'|t}</p>
								<input {if !isset($inputData.hand) || $inputData.hand eq 1}checked="checked"{/if} type="radio" name="hand" value="1" id="left" class="radio" /><label for="left">{'Left'|t}</label>
								<input {if $inputData.hand eq 2}checked="checked"{/if} type="radio" name="hand" value="2" id="right" class="radio"/><label for="right">{'Right'|t}</label>
							</div>
							<div class="formItem"><p>{'Forehand'|t}</p>
								<input {if !isset($inputData.forehand) || $inputData.forehand eq 1}checked="checked"{/if} type="radio" name="forehand" value="1" id="f1handed" class="radio" /><label for="f1handed">{'1 handed'|t}</label>
								<input {if $inputData.forehand eq 2}checked="checked"{/if} type="radio" name="forehand" value="2" id="f2handed" class="radio"/><label for="f2handed">{'2 handed'|t}</label>
							</div>
							<div class="formItem"><p>{'Backhand'|t}</p>
								<input {if !isset($inputData.backhand) || $inputData.backhand eq 1}checked="checked"{/if} type="radio" name="backhand" value="1" id="b1handed" class="radio" /><label for="b1handed">{'1 handed'|t}</label>
								<input {if $inputData.backhand eq 2}checked="checked"{/if} type="radio" name="backhand" value="2" id="b2handed" class="radio"/><label for="b2handed">{'2 handed'|t}</label>
							</div>

							<div class="formItem formItemSpacer"><p>{'Average 1st serve speed'|t}</p><input type="text" name="average_1" value="{$inputData.average_1}" style="width: 50px;" maxlength="3"/> {if $_display_metric_system_type eq 1}{'mph'|t}{else}{'km/h'|t}{/if}</div>
							<div class="formItem"><p>{'Average 2nd serve speed'|t}</p><input type="text" name="average_2" value="{$inputData.average_2}" style="width: 50px;" maxlength="3"/> {if $_display_metric_system_type eq 1}{'mph'|t}{else}{'km/h'|t}{/if}</div>

							<div class="formItem formItemSpacer"><p>{'Player Style'|t}</p><select name="player_style" class="defSelect defSelectCountry">
									<option value="1" {if $inputData.player_style eq 1}selected="selected"{/if} >{'Net Attacker'|t}</option>
									<option value="2" {if $inputData.player_style eq 2}selected="selected"{/if} >{'Aggresive Baseliner'|t}</option>
									<option value="3" {if $inputData.player_style eq 3}selected="selected"{/if} >{'Defensive Baseliner'|t}</option>
									<option value="4" {if $inputData.player_style eq 4}selected="selected"{/if} >{'Counter Pouncher'|t}</option>
									<option value="5" {if $inputData.player_style eq 5}selected="selected"{/if} >{'All Court Player'|t}</option>
							</select></div>
							<div class="formItem"><p>{'Prefered court surface'|t}</p><select name="prefered_court_surface" class="defSelect defSelectCountry">
									<option value="1"  {if $inputData.prefered_court_surface eq 1}selected="selected"{/if}>{'Clay'|t}</option>
									<option value="2" {if $inputData.prefered_court_surface eq 2}selected="selected"{/if}>{'Hard'|t}</option>
									<option value="3" {if $inputData.prefered_court_surface eq 3}selected="selected"{/if}>{'Grass'|t}</option>
									<option value="4" {if $inputData.prefered_court_surface eq 4}selected="selected"{/if}>{'Synthetic Grass'|t}</option>
									<option value="5" {if $inputData.prefered_court_surface eq 5}selected="selected"{/if}>{'Carpet'|t}</option>
									</select></div>
<!--							<div class="formItem"><p>{'Favourite Grand Slam tournament'|t}</p><select name="playerStyle" class="defSelect defSelectCountry"><option value="">{'US Open'|t}</option></select></div>-->

							<div class="formItem"><p>{'Favourite tour player'|t}</p><input type="text" name="top_player" value="{$inputData.top_player}"/>
							</div>


							<div class="formItem formItemSpacer"><p>{'Looking for tennis partner'|t}</p>
							<input type="radio" name="looking_for_partner" value="1" id="lfpYes" class="radio" {if $inputData.looking_for_partner eq 1}checked="checked"{/if}/><label for="lfpYes">{'Yes'|t}</label>
							<input type="radio" name="looking_for_partner" value="0" id="lfpNo" class="radio"  {if $inputData.looking_for_partner eq 0}checked="checked"{/if}/><label for="lfpNo">{'No'|t}</label>
							<div class="prev">{'If yes, your location (City / State /Country) will be displayed for other tennizoom users.'|t}</div>
							</div>

							<div class="clearBoth"></div>

							<div class="formItem formItemSpacer"><p>{'NTRP Level'|t}<br/><!--<a href="ntrp.html" title="How to set NTRP Level?" target="_blank">{'How to set NTRP Level?'|t}</a>--></p></div>
							<div class="slider sliderQuiz" >
									{literal}<script type="text/javascript">
										$(function() {
											$('#ntrp').sliders({min_value: 1, max_value:7, value_type: 'float', label:'NTRP', scale_image: 'http://localhost/tenizoom/dev/src/Static/image/Strona/ruler17.png', bg_image: 'http://localhost/tenizoom/dev/src/Static/image/Strona/rainbow.png'});
										})
									</script>{/literal}
									<input type="hidden" name="ntrp" id="ntrp" value="{if isset($smarty.cookies.qrf_ntrp)}{$smarty.cookies.qrf_ntrp}{else}{$inputData.ntrp|default:1}{/if}"/>
							</div>

							<div class="clearBoth"></div>

							
							<div class="formSubmit "><input type="button" value="{'previous step'|t}" onclick="prev('{url label=registrationQuizStep1}');" /><input type="submit" name="submitForm" value="{'go to next step'|t}"/></div>
						</form>
					</div>
				</div>

	<div class="clearBoth"></div>
	</div>
</div>
<div class="backgroundFrame970Bottom"></div>
				